var user = {
    /* insert:'INSERT INTO user(id, name, age) VALUES(0,?,?)',
    update:'update user set name=?, age=? where id=?', */
    /* delete: 'delete from user where id=?',
    queryAll: 'select * from user', */
    queryTokenByUsernameAndPassword:'select token from user where username=? and password=?',
    queryMenuByUserId:'select * from menu where menu.id in (select mid from user_menu,user where user_menu.uid =user.id and `user`.id = ?)'
};
 
module.exports = user;